package initialize

import (
	"flag"
	"kuangstudy-mall/apis/user-web/global"
)

func InitArgs() {
	global.Args.IP = flag.String("ip", "0.0.0.0", "服务IP")
	global.Args.Port = flag.Uint64("port", 8088, "服务端口")
	global.Args.Env = flag.String("env", "dev", "环境隔离参数")
	global.Args.Locale = flag.String("locale", "zh", "语音环境参数")
	flag.Parse()
}
